﻿using CnBlogsCore.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace CnBlogsClient.Interface
{
    interface INewsService
    {
        List<News> GetRecentNews(int pageIndex, int pageSize);

        List<News> GetWeekHotNews(int pageIndex, int pageSize);

        List<News> GetRecommendedNews(int pageIndex, int pageSize);

        string GetNewsDetail(int id);
    }
}
